package com.xyy.saas.payment.dao.mapper;

import com.xyy.saas.payment.dao.model.OrderTransDataPo;
import com.xyy.saas.payment.dto.OrderTransDataQo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderTransDataMapper {
    int insertSelective(OrderTransDataPo record);

    void batchInsertSelective(List<OrderTransDataPo> recordList);

    OrderTransDataPo queryOrderTransByPayNo(@Param("payNo") String payNo);

    List<OrderTransDataPo> pageList(@Param("param") OrderTransDataQo planQo, @Param("offset") Integer offset, @Param("size") Integer size);

    long count(@Param("param") OrderTransDataQo planQo);
}